<include file="common:__head__"/>
<div class="permissions-tabs">
    <a href="javascript:;" onclick="window.history.back();" style="margin: 18px 0 0 4px;"><img src="./Public/seller/images/permissions6.png"></a>
    <a class="role tabs-bg" href="javascript:;" mark="info">修改订单</a>
</div>


<form class="form-horizontal" id="brand_form" action="{:U('Order/edit')}" method="post">
<input type="hidden" name="order_id" value="{$order['id']}"/>
<div class="info">
    <div class="permissions-content">
        <div class="permissions-le">
            <div class="add-admin-ipt">
                <span><i>*</i>收货人:</span>
                <input type="text" name="consignee" value="{$order['consignee']}" class="w200"/>
            </div>

            <div class="add-admin-ipt">
                <span><i>*</i>收货人手机:</span>
                <input type="text" name="phone" value="{$order['phone']}" class="w200"/>
            </div>

            <div class="add-admin-ipt">
                <span><i>*</i>详细地址:</span>
                <input type="text" name="detail_area" value="{$order['detail_area']}" class="w200"/>
            </div>

            <div class="add-admin-ipt">
                <span><i>*</i>折扣:</span>
                <input type="text" name="discount" value="{$order['discount']}" class="w200"/>
            </div>

            <div class="add-admin-ipt">
                <span><i>*</i>订单费用:</span>
                <if condition="$order['discount'] eq 0">
                    <input type="text" class="w200" value="{$order['price']}" disabled/>
                    <else />

                    <input type="text" class="w200" value="{$order['price']} - {$order['discount']}(折扣) = <php>echo ($order['price']*100 - $order['discount']*100)/100;</php>" disabled/>
                </if>
            </div>

        <div class="permissions-table">
            <table border="0" width="100%">
                <thead>
                <tr>
                    <td>商品编号</td>
                    <td>商品图片</td>
                    <td>商品</td>
                    <td>数量</td>
                    <td>小计</td>
                </tr>
                </thead>
                <tbody class="trade-setting">
                    <volist name="orderGoods" id="orderGood">
                        <tr>
                            <td>{$orderGood['id']}</td>
                            <td>
                                <a href="{$orderGood['img']}" target="_blank">
                                    <img src="{$orderGood['img']}" style="height: 30px;">
                                </a>
                            </td>
                            <td>{$orderGood['g_name']|cut_str='35',###}</td>
                            <td>{$orderGood['num']}</td>
                            <td>{$orderGood['goods_price']}</td>
                        </tr>
                    </volist>
                </tbody>
            </table>
            <button class="btn-lg btn-blue" id="submit_btn" style="margin-top: 10px;">保存</button>
        </div>
        </div>
        <div class="permissions-ri">
            <a href="" class="permissions-help">帮助和服务</a>
        </div>
    </div>
</div>

<div class="images" style="display: none;">
    <div class="permissions-content">
        <div class="permissions-le">
            <div class="goods_xc" style="width:100px; text-align:center; margin: 5px; display:inline-block;">
                <input type="hidden" name="goods_images[]" value="" class="goods_imgs"/>
                <a href="javascript:void(0);" onClick="GetUploadify(5,'','goods','call_back2');">
                    <img src="__PUBLIC__/images/img_upload.png" width="100" height="100" />
                </a>
            </div>
        </div>
    </div>
</div>

<!--<div class="spec" style="display: none;">
    <div class="permissions-content">
        <div class="permissions-le">
             <div class="ncap-form-default tab_div_3">
                 <dl class="row">
                     <dt class="tit">
                         <label>商品规格&nbsp; <a class="plus_spec" href="javascript:;"><strong>[+]</strong></a></label>
                     </dt>
                     <dd class="opt">
                         <div class="spec_box">
                             <div style="margin-bottom:10px;" class="spec_k1">
                                 <select name="spe_1" class="small form-control spec1 spec_select">
                                     <option value="0" id="default">- 选择规格属性 -</option>
                                     <volist name="spec" id="vo">
                                         <option value="{$vo['id']}">{$vo['s_name']}</option>
                                     </volist>
                                 </select>
                                 <a class="p_plus" href="javascript:;" for="1"><strong>[+]</strong></a>
                             </div>
                             <div class="alisth1" style="margin-bottom:10px;"></div>
                         </div>
                     </dd>
                 </dl>
             </div>
        </div>
    </div>
</div>-->



</form>

<include file="common:__foot__"/>
<style>textarea {border: 1px solid #d1d1d1;}</style>